﻿using System;
using System.Data.Linq.Mapping;

namespace sBlog.Net.Domain.Entities
{
    [Table(Name = "Follow")]
    [Serializable]
    public class FollowEntity
    {
        [Column(IsPrimaryKey = true, IsDbGenerated = true, AutoSync = AutoSync.OnInsert)]
        public int FollowID { get; set; }
        [Column]
        public int FollowingUserID { get; set; }
        [Column]
        public int FollowerUserID { get; set; }

        public string FollowingUserName { get; set; }
        public string FollowerUserName { get; set; }
    }
}
